package com.wondertek.service.service.sys;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wondertek.service.dto.app.req.AppLogPageReq;
import com.wondertek.service.dto.app.res.AppLogPageRes;
import com.wondertek.service.entity.sys.SysLogPo;
import com.wondertek.service.dto.sys.req.SysLogQueryReq;
import jakarta.servlet.http.HttpServletResponse;


/**
 * @author xqs
 */
public interface ISysLogService extends IService<SysLogPo> {

    /**
     * 分页查询日志
     * @param sysLogQueryReq /
     * @return /
     */
    Page<SysLogPo> page(SysLogQueryReq sysLogQueryReq);

    /**
     * 导出日志
     *
     * @param sysLogQueryReq
     * @param response
     */
    void export(SysLogQueryReq sysLogQueryReq, HttpServletResponse response);

    /**
     * 分页查询日志
     *
     * @param appLogPageReq
     * @return
     */
    Page<AppLogPageRes> appPage(AppLogPageReq appLogPageReq);
}
